<?php
/**
 * Geocontexter
 * @link http://code.google.com/p/geocontexter/
 * @package Geocontexter
 */

/**
 * Admin index controller
 *
 *
 * @package Geocontexter
 * @license http://www.opensource.org/licenses/bsd-license.php New BSD License
 * @author Armand Turpel <geocontexter@gmail.com>
 * @version $Rev$ / $LastChangedDate$ / $LastChangedBy$
 */

namespace Youobserve\Controller;

use Zend\View\Model\ViewModel;
use Youobserve\Controller\AbstractController;


class IndexController extends AbstractController
{

    protected function init($controller)
    {
        $this->initView( 'youobserve/index/index.phtml', true);

        $this->view->partialData = array('active_page'    => 'index',
                                         'basePath'       => $this->getBaseUrl(),
                                         'logged_user'    => $this->view->logged_user);
    }

    public function indexAction()
    {

        return $this->view;
    }
}
